<template>
	<view class="p-2">
		<view v-html="yhxy"></view>
		<el-button type="success" size="medium" style="position: fixed;right: 200rpx;bottom: 200rpx;" @click="back" >返回登录</el-button>
	</view>
</template>

<script>
	const app = getApp();
	import {
		getTableInquiry
	} from '@/api/global.js'
	export default {
		data() {
			return {
				yhxy: '',
				form: {
					Primary_Key: "1",
					Primary_Key_Name: "Agreement_Type",
					Data: 'agreement_info',
					page: 1, //页数
					limit: 1 //每页数据条数
				}
			};
		},
		methods: {
			async companyName(data) {
				const res = await getTableInquiry({
					data
				})
				console.log(res)
				this.yhxy = res.tableData[0].Agreement_Main
			},
			back(){
				uni.navigateBack()
			}

		},
		created() {
			this.companyName(this.form);
		},
	};
</script>

<style lang="scss" scoped>
</style>